
<!DOCTYPE html>
<html>
<head>
	<title></title>
</head>
<body>

<script type="text/javascript">
	
var CheckObject = function () {
	
	this.checkName = function() {
		console.error('验证姓名');
	}
	this.checkEmail = function() {
		console.error('验证邮件');
	}
	this.checkPassword = function() {
		console.error('验证密码');
	}
}

var a = new CheckObject();

a.checkName();
a.checkEmail();
a.checkPassword();

</script>

</body>
</html>